package com.wish.g04.financing.service;

import com.wish.g04.base.entity.CwDealPerDay;
import com.wish.g04.financing.dto.DealPerDayDTO;
import com.wish.g04.financing.dto.DealPerDayDetailsDTO;
import com.wish.g04.financing.vo.DealPerDayTotalVO;
import com.wish.g04.financing.vo.DealPerDayDetailsVO;
import com.wish.g04.financing.vo.PaymentPlanTotalVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * 营业报表Service
 * @author tyd
 * @since 2022-05-29
 */
public interface DealPerDayService  {

    /**
     * 查询营业报表信息
     * @param dealPerDayDTO
     * @return
     */
    List<CwDealPerDay> getDealPerDayList(DealPerDayDTO dealPerDayDTO);

    /**
     * 统计总额
     * @param dealPerDayDTO
     * @return
     */
    DealPerDayTotalVO getDealPerDaySum(DealPerDayDTO dealPerDayDTO);

    /**
     * 查询收入明细的详情
     * @param dealPerDayDetailsDTO
     * @return
     */
    List<DealPerDayDetailsVO> getReceiptPlanList(DealPerDayDetailsDTO dealPerDayDetailsDTO);

    /**
     * 统计某天的收入总额
     * @param receiptPlanDTO
     * @return
     */
    BigDecimal getReceiptPlanSum(DealPerDayDetailsDTO receiptPlanDTO);

    /**
     * 查询支出明细的详情
     * @param dealPerDayDetailsDTO
     * @return
     */
    List<DealPerDayDetailsVO> getPaymentPlanList(DealPerDayDetailsDTO dealPerDayDetailsDTO);

    /**
     * 统计某天的支出总额明细
     * @param dealPerDayDetailsDTO
     * @return
     */
    PaymentPlanTotalVO getPaymentPlanSum(DealPerDayDetailsDTO dealPerDayDetailsDTO);
}

